<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%!
	String a,b="";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>无标题文档</title>
<link href="../../css/bgcss.css" rel="stylesheet" type="text/css" />
<script language="javascript">
	function switchSysBar(){ 
		if (parent.document.getElementById('attachucp').cols=="188,*"){ 
			parent.document.getElementById('leftFrame').style.display=""; 
			parent.document.getElementById('attachucp').cols="0,*"; 
			document.getElementById("closeleft").src="<%=request.getContextPath()%>/images/bg/open.gif";
			document.getElementById("imgtext").innerText="打开左栏";
		} 
		else{ 
			parent.document.getElementById('attachucp').cols="188,*"; 
			parent.document.getElementById('leftFrame').style.display="block";
			document.getElementById("closeleft").src="<%=request.getContextPath()%>/images/bg/close.gif";
			document.getElementById("imgtext").innerText="关闭左栏";
		}
}
</script>
</head>

<body>
     <div id="right_top">
			        <div id="img"><img id="closeleft" src="<%=request.getContextPath()%>/images/bg/close.gif" onclick="switchSysBar()" /></div>
			        <span class="imgtext" id="imgtext">关闭左栏</span>
			   <div id="loginout">
			        <div id="loginoutimg"><img src="<%=request.getContextPath()%>/images/bg/loginout.gif" /></div>
			       <span class="logintext"> <a href="<%=request.getContextPath()%>/background/stafflogin?method=quit" target="_parent">退出系统</a>	 </span>
			   </div>			   		
			   </div>
			   <%
			   		try{
			   			if(request.getParameter("a")!=null&&!"".equals(request.getParameter("a"))){			   			
				   			a=new String(request.getParameter("a").getBytes("iso-8859-1"),("utf-8"));  
				   		}else if(request.getAttribute("a")!=null){
				   			a=(String)request.getAttribute("a");
				   		}
				   if(request.getParameter("b")!=null&&!"".equals(request.getParameter("b"))){
					   b=new String(request.getParameter("b").getBytes("iso-8859-1"),("utf-8"));
			   		}else if(request.getAttribute("b")!=null){
			   			b=(String)request.getAttribute("b");
			   		}
			   		}catch(Exception e){
			   			
			   		}
			   		
			   %>
			 
			  

			   <script language="javascript">	
				var img = document.getElementsByTagName("img");
				for(var i=0;i<img.length;i++){
					img[i].onmouseover = function(){
						this.className = "imghover";
					}
					img[i].onmouseout = function(){
						this.className = "img";
					}
				}
			</script>
</body>
</html>

